package com.yimi.yinhepda.entity.response;

import java.math.BigDecimal;

/**
 * @author 000432
 * @date 2017/4/19
 * 运单详情
 */
public class WaybillExtend {
    /**
     * 运单号
     */
    private Long waybillNo;
    /**
     * 运单类型:1-正常单,2-中止单,3-作废单,4-退货单,5-签回单,6-整车单,7-外转单,8-内转单
     */
    private Integer waybillType;
    /**
     * 业务类型：1-省内件,2-邻省中转,3-邻省直达，4-跨省件
     */
    private Integer bizType;
    /**
     * 付款类型(付款方式：数据字典配置—1-寄付 2-到付 3-月结 4-回单付 5-代收扣 6-两边付 7-第三方付)
     */
    private String paymentType;
    /**
     * 结算类型—(基础数据配置)1-现结、2-月结、3-回单付、4-代收扣
     */
    private Integer settlementType;
    /**
     * 经营属性(1-企业内,2-企业外)默认为1
     */
    private Integer businessModel;
    /**
     * 数据来源类型1-PC,2-PDA,3-APP
     */
    private Integer dataSourceType;
    /**
     * 运单标识:1-整车单,2-外转单,3-内转单
     */
    private Integer waybillFlag;
    /**
     * 手工单标识0否1是
     */
    private Integer waybillStatus;
    /**
     * 省份代码
     */
    private String provinceCode;
    /**
     * 运单创建人
     */
    private String creater;
    /**
     * 派送小区代码
     */
    private String dispatchSmallAreaCode;
    /**
     * 创建时间(录单时间)
     */
    private String createrTime;
    /**
     * 是否有签回单业务
     */
    private Boolean isSingBack;
    /**
     * 返单份数
     */
    private String singBackFs;
    /**
     * 返单张数
     */
    private String singBackZs;
    /**
     * 签回单签收类型：1-原件返回，2-传真返回，3-照片返回，4-无返回
     */
    private String singBackType;
    /**
     * 转寄地编码
     */
    private String forwardCode;
    /**
     * 转寄地名称
     */
    private String forwardName;
    /**
     * 运单路由
     */
    private String routeCode;
    /**
     * 运单路由名称
     */
    private String routeName;
    /**
     * 应收合计
     */
    private BigDecimal receiveAmount;
    /**
     * 到付付款金额(到付合计)
     */
    private BigDecimal paidPaymentAmount;
    /**
     * 计费单位(特殊物品的数量)
     */
    private Integer chargeableUnit;
    /**
     * 银行户名
     */
    private String bankUserName;
    /**
     * 寄件时间
     */
    private String sendTime;
    /**
     * 时效
     */
    private String timeEfficiency;
    /**
     * 货单号
     */
    private String goodsNo;
    /**
     * 产品类型
     */
    private String productType;
    /**
     * 到达网点
     */
    private String destZoneCode;
    /**
     * 到达网点名称
     */
    private String destZoneName;
    /**
     * 始发网点编码
     */
    private String sourceZoneCode;
    /**
     * 始发网点名称
     */
    private String sourceZoneName;
    /**
     * 收件地址
     */
    private Integer consigneeAddressCode;
    /**
     * 收件地址
     */
    private String consigneeAddress;
    /**
     * 收件人
     */
    private String consignee;
    /**
     * 收件手机电话
     */
    private String consigneePhone;
    /**
     * 发件人地址
     */
    private Integer senderAddressCode;
    /**
     * 发件人地址
     */
    private String senderAddress;
    /**
     * 发件人
     */
    private String sender;
    /**
     * 发件人电话
     */
    private String sendPhone;
    /**
     * 会员卡号
     */
    private String cardNo;
    /**
     * 件数
     */
    private Integer quantity;
    /**
     * 货物名称
     */
    private String consignName;
    /**
     * 始发公司code
     */
    private String compCode;
    /**
     * 目的公司code
     */
    private String toCompCode;
    /**
     * 货物code
     */
    private String consignCode;
    /**
     * 重量
     */
    private BigDecimal realWeight;
    /**
     * 计费重量
     */
    private BigDecimal chargeableWeight;
    /**
     * 包装
     */
    private String packingSpecification;
    /**
     * 体积
     */
    private BigDecimal volume;
    /**
     * 包装盒备注
     */
    private String memo;
    /**
     * 服务方式
     */
    private Long serviceType;
    /**
     * 版本号
     */
    private Long recordVersion;

    /**
     * 付款金额(月结款, 回单付 代收扣 第三方付)
     */
    private BigDecimal paymentAmount;
    /**
     * 运费
     */
    private BigDecimal totalFreight;
    /**
     * 仓管费
     */
    private BigDecimal warhouseManeFee;
    /**
     * 代收款
     */
    private BigDecimal goodsChargeFee;
    /**
     * 代收运费
     */
    private BigDecimal collectionWaybillFee;
    /**
     * 申明价值
     */
    private BigDecimal insuranceFee;
    /**
     * 回单费
     */
    private BigDecimal signBackFee;
    /**
     * 包装费
     */
    private BigDecimal packageFee;
    /**
     * 转寄费
     */
    private BigDecimal forwardFee;
    /**
     * 等通知
     */
    private BigDecimal noticeFee;
    /**
     * 回扣
     */
    private BigDecimal kickBackFee;
    /**
     * 垫运费
     */
    private BigDecimal deboursWayFee;
    /**
     * 上门接货
     */
    private BigDecimal doorFee;
    /**
     * 上楼费
     */
    private BigDecimal upstairsFee;
    /**
     * 中转费
     */
    private BigDecimal transferFee;
    /**
     * 装卸费
     */
    private BigDecimal loadingFee;
    /**
     * 叉车费
     */
    private BigDecimal carFee;
    /**
     * 力资费
     */
    private BigDecimal capitalFee;
    /**
     * 制单费
     */
    private BigDecimal voucherFee;
    /**
     * 短信费
     */
    private BigDecimal smsFee;
    /**
     * 经由网点
     */
    private String dispatchAreaCode;
    /**
     * 服务费
     */
    private BigDecimal serviceFee;
    /**
     * 寄付费
     */
    private BigDecimal donationFee;
    /**
     * 优惠券
     */
    private BigDecimal coupon;
    /**
     * 优惠金额
     */
    private BigDecimal couponFee;
    /**
     * 银行名称
     */
    private String bankName;
    /**
     * 银行类型
     */
    private String bankType;
    /**
     * 银行账号
     */
    private String bankNo;
    /**
     * 代收服务费
     */
    private BigDecimal chargeAgentFee;
    /**
     * 保价服务费
     */
    private BigDecimal insuranceAgentFee;
    /**
     * 上派送费
     */
    private BigDecimal deliverFee;
    /**
     * 下派送费
     */
    private BigDecimal downDispatchFee;

    public Long getWaybillNo() {
        if (waybillNo == null) {
            waybillNo = 0L;
        }
        return waybillNo;
    }

    public String getRouteName() {
        return routeName;
    }

    public void setRouteName(String routeName) {
        this.routeName = routeName;
    }

    public void setWaybillNo(Long waybillNo) {
        this.waybillNo = waybillNo;
    }

    public Integer getWaybillType() {
        if (waybillType == null) {
            waybillType = 0;
        }
        return waybillType;
    }

    public void setWaybillType(Integer waybillType) {
        this.waybillType = waybillType;
    }

    public Integer getBizType() {
        if (bizType == null) {
            bizType = 0;
        }
        return bizType;
    }

    public void setBizType(Integer bizType) {
        this.bizType = bizType;
    }

    public String getPaymentType() {
        return paymentType;
    }

    public void setPaymentType(String paymentType) {
        this.paymentType = paymentType;
    }

    public Integer getSettlementType() {
        if (settlementType == null) {
            settlementType = 0;
        }
        return settlementType;
    }

    public void setSettlementType(Integer settlementType) {
        this.settlementType = settlementType;
    }

    public Integer getBusinessModel() {
        if (businessModel == null) {
            businessModel = 0;
        }
        return businessModel;
    }

    public void setBusinessModel(Integer businessModel) {
        this.businessModel = businessModel;
    }

    public Integer getDataSourceType() {
        if (dataSourceType == null) {
            dataSourceType = 0;
        }
        return dataSourceType;
    }

    public void setDataSourceType(Integer dataSourceType) {
        this.dataSourceType = dataSourceType;
    }

    public Integer getWaybillFlag() {
        if (waybillFlag == null) {
            waybillFlag = 0;
        }
        return waybillFlag;
    }

    public void setWaybillFlag(Integer waybillFlag) {
        this.waybillFlag = waybillFlag;
    }

    public Integer getWaybillStatus() {
        if (waybillStatus == null) {
            waybillStatus = 0;
        }
        return waybillStatus;
    }

    public void setWaybillStatus(Integer waybillStatus) {
        this.waybillStatus = waybillStatus;
    }

    public String getProvinceCode() {
        return provinceCode;
    }

    public void setProvinceCode(String provinceCode) {
        this.provinceCode = provinceCode;
    }

    public String getCreater() {
        return creater;
    }

    public void setCreater(String creater) {
        this.creater = creater;
    }

    public String getDispatchSmallAreaCode() {
        return dispatchSmallAreaCode;
    }

    public void setDispatchSmallAreaCode(String dispatchSmallAreaCode) {
        this.dispatchSmallAreaCode = dispatchSmallAreaCode;
    }

    public String getCreaterTime() {
        return createrTime;
    }

    public void setCreaterTime(String createrTime) {
        this.createrTime = createrTime;
    }

    public Boolean getSingBack() {
        if (isSingBack == null) {
            isSingBack = Boolean.valueOf(false);
        }
        return isSingBack;
    }

    public void setSingBack(Boolean singBack) {
        isSingBack = singBack;
    }

    public String getSingBackFs() {
        return singBackFs;
    }

    public void setSingBackFs(String singBackFs) {
        this.singBackFs = singBackFs;
    }

    public String getSingBackZs() {
        return singBackZs;
    }

    public void setSingBackZs(String singBackZs) {
        this.singBackZs = singBackZs;
    }

    public String getSingBackType() {
        return singBackType;
    }

    public void setSingBackType(String singBackType) {
        this.singBackType = singBackType;
    }

    public String getForwardCode() {
        return forwardCode;
    }

    public void setForwardCode(String forwardCode) {
        this.forwardCode = forwardCode;
    }

    public String getForwardName() {
        return forwardName;
    }

    public void setForwardName(String forwardName) {
        this.forwardName = forwardName;
    }

    public String getRouteCode() {
        return routeCode;
    }

    public void setRouteCode(String routeCode) {
        this.routeCode = routeCode;
    }

    public BigDecimal getReceiveAmount() {
        if (receiveAmount == null) {
            receiveAmount = new BigDecimal(0);
        }
        return receiveAmount;
    }

    public void setReceiveAmount(BigDecimal receiveAmount) {
        this.receiveAmount = receiveAmount;
    }

    public BigDecimal getPaidPaymentAmount() {
        if (paidPaymentAmount == null) {
            paidPaymentAmount = new BigDecimal(0);
        }
        return paidPaymentAmount;
    }

    public void setPaidPaymentAmount(BigDecimal paidPaymentAmount) {
        this.paidPaymentAmount = paidPaymentAmount;
    }

    public Integer getChargeableUnit() {
        if (chargeableUnit == null) {
            chargeableUnit = 0;
        }
        return chargeableUnit;
    }

    public void setChargeableUnit(Integer chargeableUnit) {
        this.chargeableUnit = chargeableUnit;
    }

    public String getBankUserName() {
        return bankUserName;
    }

    public void setBankUserName(String bankUserName) {
        this.bankUserName = bankUserName;
    }

    public String getSendTime() {
        return sendTime;
    }

    public void setSendTime(String sendTime) {
        this.sendTime = sendTime;
    }

    public String getTimeEfficiency() {
        return timeEfficiency;
    }

    public void setTimeEfficiency(String timeEfficiency) {
        this.timeEfficiency = timeEfficiency;
    }

    public String getGoodsNo() {
        return goodsNo;
    }

    public void setGoodsNo(String goodsNo) {
        this.goodsNo = goodsNo;
    }

    public String getProductType() {
        return productType;
    }

    public void setProductType(String productType) {
        this.productType = productType;
    }

    public String getDestZoneCode() {
        return destZoneCode;
    }

    public void setDestZoneCode(String destZoneCode) {
        this.destZoneCode = destZoneCode;
    }

    public String getDestZoneName() {
        return destZoneName;
    }

    public void setDestZoneName(String destZoneName) {
        this.destZoneName = destZoneName;
    }

    public String getSourceZoneCode() {
        return sourceZoneCode;
    }

    public void setSourceZoneCode(String sourceZoneCode) {
        this.sourceZoneCode = sourceZoneCode;
    }

    public String getSourceZoneName() {
        return sourceZoneName;
    }

    public void setSourceZoneName(String sourceZoneName) {
        this.sourceZoneName = sourceZoneName;
    }

    public Integer getConsigneeAddressCode() {
        if (consigneeAddressCode == null) {
            consigneeAddressCode = 0;
        }
        return consigneeAddressCode;
    }

    public void setConsigneeAddressCode(Integer consigneeAddressCode) {
        this.consigneeAddressCode = consigneeAddressCode;
    }

    public String getConsigneeAddress() {
        return consigneeAddress;
    }

    public void setConsigneeAddress(String consigneeAddress) {
        this.consigneeAddress = consigneeAddress;
    }

    public String getConsignee() {
        return consignee;
    }

    public void setConsignee(String consignee) {
        this.consignee = consignee;
    }

    public String getConsigneePhone() {
        return consigneePhone;
    }

    public void setConsigneePhone(String consigneePhone) {
        this.consigneePhone = consigneePhone;
    }

    public Integer getSenderAddressCode() {
        if (senderAddressCode == null) {
            senderAddressCode = 0;
        }
        return senderAddressCode;
    }

    public void setSenderAddressCode(Integer senderAddressCode) {
        this.senderAddressCode = senderAddressCode;
    }

    public String getSenderAddress() {
        return senderAddress;
    }

    public void setSenderAddress(String senderAddress) {
        this.senderAddress = senderAddress;
    }

    public String getSender() {
        return sender;
    }

    public void setSender(String sender) {
        this.sender = sender;
    }

    public String getSendPhone() {
        return sendPhone;
    }

    public void setSendPhone(String sendPhone) {
        this.sendPhone = sendPhone;
    }

    public String getCardNo() {
        return cardNo;
    }

    public void setCardNo(String cardNo) {
        this.cardNo = cardNo;
    }

    public Integer getQuantity() {
        if (quantity == null) {
            quantity = 0;
        }
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    public String getConsignName() {
        return consignName;
    }

    public void setConsignName(String consignName) {
        this.consignName = consignName;
    }

    public BigDecimal getRealWeight() {
        if (realWeight == null) {
            realWeight = new BigDecimal(0);
        }
        return realWeight;
    }

    public void setRealWeight(BigDecimal realWeight) {
        this.realWeight = realWeight;
    }

    public BigDecimal getChargeableWeight() {
        if (chargeableWeight == null) {
            chargeableWeight = new BigDecimal(0);
        }
        return chargeableWeight;
    }

    public void setChargeableWeight(BigDecimal chargeableWeight) {
        this.chargeableWeight = chargeableWeight;
    }

    public String getPackingSpecification() {
        return packingSpecification;
    }

    public void setPackingSpecification(String packingSpecification) {
        this.packingSpecification = packingSpecification;
    }

    public BigDecimal getVolume() {
        if (volume == null) {
            volume = new BigDecimal(0);
        }
        return volume;
    }

    public void setVolume(BigDecimal volume) {
        this.volume = volume;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public Long getServiceType() {
        if (serviceType == null) {
            serviceType = Long.valueOf(0);
        }
        return serviceType;
    }

    public void setServiceType(Long serviceType) {
        this.serviceType = serviceType;
    }

    public Long getRecordVersion() {
        if (recordVersion == null) {
            recordVersion = Long.valueOf(0);
        }
        return recordVersion;
    }

    public void setRecordVersion(Long recordVersion) {
        this.recordVersion = recordVersion;
    }

    public BigDecimal getPaymentAmount() {
        if (paymentAmount == null) {
            paymentAmount = new BigDecimal(0);
        }
        return paymentAmount;
    }

    public void setPaymentAmount(BigDecimal paymentAmount) {
        this.paymentAmount = paymentAmount;
    }

    public BigDecimal getTotalFreight() {
        if (totalFreight == null) {
            totalFreight = new BigDecimal(0);
        }
        return totalFreight;
    }

    public void setTotalFreight(BigDecimal totalFreight) {
        this.totalFreight = totalFreight;
    }

    public BigDecimal getWarhouseManeFee() {
        if (warhouseManeFee == null) {
            warhouseManeFee = new BigDecimal(0);
        }
        return warhouseManeFee;
    }

    public void setWarhouseManeFee(BigDecimal warhouseManeFee) {
        this.warhouseManeFee = warhouseManeFee;
    }

    public BigDecimal getGoodsChargeFee() {
        if (goodsChargeFee == null) {
            goodsChargeFee = new BigDecimal(0);
        }
        return goodsChargeFee;
    }

    public void setGoodsChargeFee(BigDecimal goodsChargeFee) {
        this.goodsChargeFee = goodsChargeFee;
    }

    public BigDecimal getCollectionWaybillFee() {
        if (collectionWaybillFee == null) {
            collectionWaybillFee = new BigDecimal(0);
        }
        return collectionWaybillFee;
    }

    public void setCollectionWaybillFee(BigDecimal collectionWaybillFee) {
        this.collectionWaybillFee = collectionWaybillFee;
    }

    public BigDecimal getInsuranceFee() {
        if (insuranceFee == null) {
            insuranceFee = new BigDecimal(0);
        }
        return insuranceFee;
    }

    public void setInsuranceFee(BigDecimal insuranceFee) {
        this.insuranceFee = insuranceFee;
    }

    public BigDecimal getSignBackFee() {
        if (signBackFee == null) {
            signBackFee = new BigDecimal(0);
        }
        return signBackFee;
    }

    public void setSignBackFee(BigDecimal signBackFee) {
        this.signBackFee = signBackFee;
    }

    public BigDecimal getPackageFee() {
        if (packageFee == null) {
            packageFee = new BigDecimal(0);
        }
        return packageFee;
    }

    public void setPackageFee(BigDecimal packageFee) {
        this.packageFee = packageFee;
    }

    public BigDecimal getForwardFee() {
        if (forwardFee == null) {
            forwardFee = new BigDecimal(0);
        }
        return forwardFee;
    }

    public void setForwardFee(BigDecimal forwardFee) {
        this.forwardFee = forwardFee;
    }

    public BigDecimal getNoticeFee() {
        if (noticeFee == null) {
            noticeFee = new BigDecimal(0);
        }
        return noticeFee;
    }

    public void setNoticeFee(BigDecimal noticeFee) {
        this.noticeFee = noticeFee;
    }

    public BigDecimal getKickBackFee() {
        if (kickBackFee == null) {
            kickBackFee = new BigDecimal(0);
        }
        return kickBackFee;
    }

    public void setKickBackFee(BigDecimal kickBackFee) {
        this.kickBackFee = kickBackFee;
    }

    public BigDecimal getDeboursWayFee() {
        if (deboursWayFee == null) {
            deboursWayFee = new BigDecimal(0);
        }
        return deboursWayFee;
    }

    public void setDeboursWayFee(BigDecimal deboursWayFee) {
        this.deboursWayFee = deboursWayFee;
    }

    public BigDecimal getDoorFee() {
        if (doorFee == null) {
            doorFee = new BigDecimal(0);
        }
        return doorFee;
    }

    public void setDoorFee(BigDecimal doorFee) {
        this.doorFee = doorFee;
    }

    public BigDecimal getUpstairsFee() {
        if (upstairsFee == null) {
            upstairsFee = new BigDecimal(0);
        }
        return upstairsFee;
    }

    public void setUpstairsFee(BigDecimal upstairsFee) {
        this.upstairsFee = upstairsFee;
    }

    public BigDecimal getTransferFee() {
        if (transferFee == null) {
            transferFee = new BigDecimal(0);
        }
        return transferFee;
    }

    public void setTransferFee(BigDecimal transferFee) {
        this.transferFee = transferFee;
    }

    public BigDecimal getLoadingFee() {
        if (loadingFee == null) {
            loadingFee = new BigDecimal(0);
        }
        return loadingFee;
    }

    public void setLoadingFee(BigDecimal loadingFee) {
        this.loadingFee = loadingFee;
    }

    public BigDecimal getCarFee() {
        if (carFee == null) {
            carFee = new BigDecimal(0);
        }
        return carFee;
    }

    public void setCarFee(BigDecimal carFee) {
        this.carFee = carFee;
    }

    public BigDecimal getCapitalFee() {
        if (capitalFee == null) {
            capitalFee = new BigDecimal(0);
        }
        return capitalFee;
    }

    public void setCapitalFee(BigDecimal capitalFee) {
        this.capitalFee = capitalFee;
    }

    public BigDecimal getVoucherFee() {
        if (voucherFee == null) {
            voucherFee = new BigDecimal(0);
        }
        return voucherFee;
    }

    public void setVoucherFee(BigDecimal voucherFee) {
        this.voucherFee = voucherFee;
    }

    public BigDecimal getSmsFee() {
        if (smsFee == null) {
            smsFee = new BigDecimal(0);
        }
        return smsFee;
    }

    public void setSmsFee(BigDecimal smsFee) {
        this.smsFee = smsFee;
    }

    public String getDispatchAreaCode() {
        return dispatchAreaCode;
    }

    public void setDispatchAreaCode(String dispatchAreaCode) {
        this.dispatchAreaCode = dispatchAreaCode;
    }

    public BigDecimal getServiceFee() {
        if (serviceFee == null) {
            serviceFee = new BigDecimal(0);
        }
        return serviceFee;
    }

    public void setServiceFee(BigDecimal serviceFee) {
        this.serviceFee = serviceFee;
    }

    public BigDecimal getDonationFee() {
        if (donationFee == null) {
            donationFee = new BigDecimal(0);
        }
        return donationFee;
    }

    public void setDonationFee(BigDecimal donationFee) {
        this.donationFee = donationFee;
    }

    public BigDecimal getCoupon() {
        if (coupon == null) {
            coupon = new BigDecimal(0);
        }
        return coupon;
    }

    public void setCoupon(BigDecimal coupon) {
        this.coupon = coupon;
    }

    public BigDecimal getCouponFee() {
        if (couponFee == null) {
            couponFee = new BigDecimal(0);
        }
        return couponFee;
    }

    public void setCouponFee(BigDecimal couponFee) {
        this.couponFee = couponFee;
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public String getBankType() {
        return bankType;
    }

    public void setBankType(String bankType) {
        this.bankType = bankType;
    }

    public String getBankNo() {
        return bankNo;
    }

    public void setBankNo(String bankNo) {
        this.bankNo = bankNo;
    }

    public BigDecimal getChargeAgentFee() {
        if (chargeAgentFee == null) {
            chargeAgentFee = new BigDecimal(0);
        }
        return chargeAgentFee;
    }

    public void setChargeAgentFee(BigDecimal chargeAgentFee) {
        this.chargeAgentFee = chargeAgentFee;
    }

    public BigDecimal getInsuranceAgentFee() {
        if (insuranceAgentFee == null) {
            insuranceAgentFee = new BigDecimal(0);
        }
        return insuranceAgentFee;
    }

    public void setInsuranceAgentFee(BigDecimal insuranceAgentFee) {
        this.insuranceAgentFee = insuranceAgentFee;
    }

    public BigDecimal getDeliverFee() {
        if (deliverFee == null) {
            deliverFee = new BigDecimal(0);
        }
        return deliverFee;
    }

    public void setDeliverFee(BigDecimal deliverFee) {
        this.deliverFee = deliverFee;
    }

    public BigDecimal getDownDispatchFee() {
        if (downDispatchFee == null) {
            downDispatchFee = new BigDecimal(0);
        }
        return downDispatchFee;
    }

    public void setDownDispatchFee(BigDecimal downDispatchFee) {
        this.downDispatchFee = downDispatchFee;
    }

    public String getCompCode() {
        return compCode;
    }

    public void setCompCode(String compCode) {
        this.compCode = compCode;
    }

    public String getToCompCode() {
        return toCompCode;
    }

    public void setToCompCode(String toCompCode) {
        this.toCompCode = toCompCode;
    }

    public String getConsignCode() {
        return consignCode;
    }

    public void setConsignCode(String consignCode) {
        this.consignCode = consignCode;
    }
}
